package com.sso.manager;

import com.sso.exception.DataBaseException;
import com.sso.exception.SelectException;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * Created by Admin on 2016/2/25.
 */
public interface BaseManager<T> {

    public int save(T entity) throws Exception;

    public List<T> selectByPage(Map<String,Object> param);

    public List<T> selectByProperty(Map<String,Object> param);

    public long countByProperty(Map<String,Object> param);

}
